import { createRouter, createWebHistory } from 'vue-router';

/**
 * @type {import('vue-router').RouteRecordRaw[]}
 */
const routes = [
  {
    path: '/',
    name: 'Index',
    component: () => import('../views/index.vue')
  },
  {
    path: '/about',
    name: 'About',
    component: () => import('../views/about.vue')
  }
];

const router = createRouter({
  history: createWebHistory(),
  routes
});

  export default router; 